-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GMM clustering and fixed compute pca #179
Conversation
alishbaimran
commented
Oct 8, 2024
•
edited
Loading
edited
- added GMMClustering class w/ various methods for GMM clustering using BIC and AIC
- fixed compute_pca so values aren't hardcoded
- example script to run gmm clustering w/ ground truth annotations
- visualizing Feb + June datasets using UMAPs colored by GMM cluster weights and by predicted cluster labels
…cript (#159) * reduce initial patch size * add radial profiling * add function descriptions * add umap correlation * add def comments * change umap for all data * add script for 1 chan * add p-value analysis * add PCA analysis * remove duplicate script * Refactor and format code * Format code * Removed umap correlation * note for future refactor --------- Co-authored-by: Ziwen Liu <[email protected]>
* updated files * format fixed for tests * updated scripts * umap dist code * bug fixes and linting * logistic regression script * add infection figure script * Add script for generating infection figure and perform prediction on the June dataset * Format code * Black format evaluation module and fix import in figure_cell_infection script * Refactor scatterplot colors and markers * Calculate model accuracy * Add script for appendix video * formatted code * updated displacement funcs for full embeddings * script for displacement computation * fix style * fix docstring format --------- Co-authored-by: Shalin Mehta <[email protected]> Co-authored-by: Soorya Pradeep <[email protected]> Co-authored-by: Ziwen Liu <[email protected]>
@alishbaimran @Soorya19Pradeep I am booked with multiple planning and writing projects through the end of the year. I think Soorya is situated to provide a solid review and testing of this code. She implemented GMM clustering over time for infection state discrimination for Fig. 5 of https://academic.oup.com/pnasnexus/article/3/9/pgae323/7731083 |
@alishbaimran , can you pull the changes from the representation branch into this branch? There seem to be some conflicts with the representation branch. |
Yes I can do this and then push changes again. |
@alishbaimran it looks like you started a branch or merged changes in a way that affected files that are not related to this feature. You may need to do this:
|
@alishbaimran , as you open the new branch to make the changes Shalin mentioned please keep in mind to clean up the scripts like this inside |
@Soorya19Pradeep I'm not sure if these scripts are even suppose to be included in new branch. I pulled the files that were pushed to this branch and it seems some really old commits were moved here? @mattersoflight could you clarify if/what to do with these olds commits? |
@alishbaimran , I think it is best to close this and start a new branch. Let us do that and then you can add the new scripts for GMM clustering and remove those figure scripts there. |